package com.icinfo.cloud.provider.common.zzd.service;

import com.icinfo.cloud.provider.common.zzd.dto.ZzdUserInfo;
import com.icinfo.cloud.provider.punish.dto.ZwdLoginRequest;
import com.icinfo.framework.common.web.Result;

/**
 * 描述：浙政钉用户登录接口
 *
 * @Author zhengqiang
 * @Date 2022/12/8 22:48
 **/
public interface IZzdUserLoginService {

    /**
     * 一键登录
     * @author zhengqiang
     * @date 2022/12/8
     * @param zwdLoginRequest
     * @return {@link Result}
     */
    Result zzdLogin(ZwdLoginRequest zwdLoginRequest);

    /**
     * 浙政钉获取用户信息(扫码登录)
     *
     * @return ZzdUserInfo
     * @author zhengqiang
     * @date 2022-12-08
     */
     Result<ZzdUserInfo> getZzdUserInfo(String code);

}
